//
//  bottomView.swift
//  kingWeiBo
//
//  Created by King on 15/9/16.
//  Copyright © 2015年 King. All rights reserved.
//

import UIKit

class bottomView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        
        
      
        setupUI()
  
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    //MARK: - 搭建界面
    /// 搭建界面
    func setupUI(){
    
        addSubview(zhuanButton)
        addSubview(pingButton)
        addSubview(zanButton)
        //设置约束
        ff_HorizontalTile([zhuanButton, pingButton, zanButton], insets: UIEdgeInsetsZero)
    
    }
    //MARK: - 懒加载控件
    private lazy var zhuanButton:UIButton = UIButton(title: "转发", imageName: "timeline_icon_retweet")
    private lazy var pingButton:UIButton = UIButton(title: "评论", imageName: "timeline_icon_comment")
    private lazy var zanButton:UIButton = UIButton(title: "赞", imageName: "timeline_icon_like")
    
}
